package com.tools.entity;

/**
 * 数据库配置信息
 *
 * @author < a href=" ">ZhangYang</ a>
 * @version v1.0.01
 * @date 2018-08-24 16:19:18
 */
public class DatabaseContent {
  /** 首页显示的名字 */
  private String displayName;
  /** 主机地址 */
  private String host;
  /** 端口号 */
  private String port;
  /** 用户名 */
  private String userName;
  /** 密码 */
  private String userPwd;
  /** 数据库名称 */
  private String dbName;
  /** 数据库类型 */
  private String dbType;
  /** 字符编码 */
  private String encoding;

  public String getDisplayName() {
    return displayName;
  }

  public void setDisplayName(String displayName) {
    this.displayName = displayName;
  }

  public String getHost() {
    return host;
  }

  public void setHost(String host) {
    this.host = host;
  }

  public String getPort() {
    return port;
  }

  public void setPort(String port) {
    this.port = port;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserPwd() {
    return userPwd;
  }

  public void setUserPwd(String userPwd) {
    this.userPwd = userPwd;
  }

  public String getDbName() {
    return dbName;
  }

  public void setDbName(String dbName) {
    this.dbName = dbName;
  }

  public String getDbType() {
    return dbType;
  }

  public void setDbType(String dbType) {
    this.dbType = dbType;
  }

  public String getEncoding() {
    return encoding;
  }

  public void setEncoding(String encoding) {
    this.encoding = encoding;
  }

  @Override
  public String toString() {
    return "DatabaseContent [displayName=" + displayName + ", host=" + host + ", port=" + port + ", userName="
      + userName + ", userPwd=" + userPwd + ", dbName=" + dbName + ", dbType=" + dbType + ", encoding=" + encoding
      + "]";
  }

}
